package com.fortune.dto.in.dStoreTrans;

import com.fortune.common.paging.PagingDto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

public class DStoreTransAListDto extends PagingDto{
	@ApiModelProperty(example="搜素")
	private String search;
	@ApiModelProperty(example="调出仓库")
	private String tuneOutStore;
	@ApiModelProperty(example="调入仓库")
	private String tuneInStore;
	@ApiModelProperty(example="是否已调出")
	private Integer isTuneOut;
	@ApiModelProperty(example="是否已调入")
	private Integer isTuneIn;
	@ApiModelProperty(example="排序依据(起始日期:startTime,截止日期:endTime,满数量:achieveNum,赠数量:giftNum,优惠名称:name,商品名称:productName,商品编号:producNumber,默认为startTime)",allowableValues = "startTime,endTime,achieveNum,giftNum,name,productName,producNumber")
	private String order;
	@Min(value = 0,message = "最小值为0")
	@Max(value = 1,message = "最大值为1")
	@ApiModelProperty(example="排序类型(0升序,1降序,默认为1)")
	private Integer type;

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTuneOutStore() {
		return tuneOutStore;
	}

	public void setTuneOutStore(String tuneOutStore) {
		this.tuneOutStore = tuneOutStore;
	}

	public String getTuneInStore() {
		return tuneInStore;
	}

	public void setTuneInStore(String tuneInStore) {
		this.tuneInStore = tuneInStore;
	}

	public Integer getIsTuneOut() {
		return isTuneOut;
	}

	public void setIsTuneOut(Integer isTuneOut) {
		this.isTuneOut = isTuneOut;
	}

	public Integer getIsTuneIn() {
		return isTuneIn;
	}

	public void setIsTuneIn(Integer isTuneIn) {
		this.isTuneIn = isTuneIn;
	}

	public String getSearch() {
		return search;
	}

	public void setSearch(String search) {
		this.search = search;
	}

}
